package com.woniu.his.bms.client;

import com.woniu.his.bms.client.result.BmsDoctorPatientFeeResult;
import com.woniu.his.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @version: java version 1.8
 * @Author: Mr tao
 * @description:
 * @date: 2022-12-01 10:28
 */
@FeignClient(contextId = "bmsFeeQueryClient",name = "bms",path = "bms")
public interface BmsFeeQueryClient {

    /**
     * 通过病例id查询费用
     * @param CaseHistoryId
     * @return
     */
    @GetMapping("/listFeeByCaseHistoryId")
    public Result<List<BmsDoctorPatientFeeResult>> listFeeByCaseHistoryId(@RequestParam("CaseHistoryId") Long CaseHistoryId);
}
